]> dgit.raspbian.org Git - gnome-shell.git/commit
barLevel: Stop capping border-width at 1 pixel
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Oct 2023 13:17:45 +0000 (15:17 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 21 Nov 2023 18:55:47 +0000 (18:55 +0000)
commit77a72cec1ee38321fe796a9f6d96f08cee577e7e
treeafea1dd8ddaf95ec86088d7800f94d783faf97db
parent7a04d92bc04e8add1b46b5da53239e53398ae958
barLevel: Stop capping border-width at 1 pixel

I can't think of a reason why limiting the border to a maximum
would make any sense.

The original intention was probably to set a minimum border width
to avoid having to deal with border/no-border complexity in the code,
but as cairo accepts a line width of 0, it just works.

However limiting the size to the overall height seems reasonable,
as at that size a bigger height and different fill color can
achieve the same effect without requires special handling of
other values like the radius.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2994>
js/ui/barLevel.js